/* Copyright Tvb Network (Pty) Ltd. All rigths reserved 2026 */
/* instore_prof.css for ptofil style */




.profile-menu-container {
    min-width: 380px;
    width: 40%;
    background: white;
    /* border-radius: 16px; */
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    overflow: hidden;
    /* margin: 16px auto; */
	position:absolute;
	top:0px;
	right:0px;
    height: 100%;
    overflow-y: auto;
}

.profile-header {
    background:green;
    color: white;
    padding: 32px 24px;
    text-align: center;
}

.profile-picture {
    border-radius: 50%;
    /* border: 4px solid white; */
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	width: 90px;
    height: 90px;
	display: inline-flex;
	font-size:10pt;
	filter:invert(1);
}

.profile-name {
    font-size: 1.0rem;
    font-weight: 600;
    margin: 0 0 6px;
}

.profile-phone {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.menu-section {
	margin:24px;
	background-color:#fff;
	border-radius:16px;
	box-shadow: 0 0 10px 1px #e1e1e1;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.menu-section:last-child {
    border-bottom: none;
}



.menu-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s;
}

.menu-item:hover {
    background: #f8f9fa;
}

.menu-icon {
    font-size: 24px;
    color: #007bff;
    margin-right: 20px;
    width: 24px;
    text-align: center;
}

.menu-text {
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
	margin-left:15px;
}

.material-icons {
    color: #00cc00;
}


.cls_pr_v{
	position:absolute;
	right:10px;
	top:10px;
	cursor:pointer;
	width:24px;
	height:24px;
	margin:10px;
}

.menu-arrow {
    font-size: 20px;
    color: #adb5bd;
}

.logout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 24px;
    background: white;
    border-top: 1px solid #dee2e6;
    cursor: pointer;
    transition: background 0.2s;
}

.logout-button:hover {
    background: #f8d7da;
}

.logout-icon {
    font-size: 24px;
    color: #dc3545;
    margin-right: 12px;
}

.logout-text {
    font-size: 1.08rem;
    font-weight: 500;
    color: #dc3545;
}

.footer-pr {
    text-align: center;
    padding: 16px 24px;
    font-size: 0.85rem;
    color: #6c757d;
    border-top: 1px solid #dee2e6;
}

.app-version {
    margin: 0 0 4px;
    font-size: 0.82rem;
}

.powered-by {
    margin: 0;
    font-size: 0.78rem;
    opacity: 0.8;
}










.wallet-container {
    max-width: 480px;
    margin: 20px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 16px;
}

.wallet-header {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 24px;
}

.balance-label {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 8px;
}

.balance-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 20px;
}

.balance-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-action {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.add-funds {
    background: #007bff;
    color: white;
}

.add-funds:hover {
    background: #0056b3;
}

.withdraw {
    background: #ffc107;
    color: #212529;
}

.withdraw:hover {
    background: #e0a800;
}

.wallet-section {
    margin-bottom: 32px;
}

.section-title {
  font-size: 1.0rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 16px 16px 16px;
}



._ic_mnv_{
	width:24px;
	height:24px;
}

._ic_mnv_next_{
	
}

.history-list, .refund-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-row, .refund-row {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    gap: 16px;
}

.tx-icon {
    font-size: 28px;
}

.positive { color: #28a745; }
.negative { color: #dc3545; }

.tx-details {
    flex: 1;
}

.tx-type {
    font-weight: 600;
    font-size: 1.05rem;
}

.tx-desc {
    font-size: 0.9rem;
    color: #6c757d;
}

.tx-right {
    text-align: right;
}

.tx-amount {
    font-weight: 600;
    font-size: 1.05rem;
}

.tx-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.refund-id {
    font-weight: 600;
    width: 80px;
}

.refund-amount {
    font-weight: 600;
    color: #28a745;
    width: 100px;
}

.refund-date {
    color: #6c757d;
    width: 120px;
}

.refund-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.refund-status.completed {
    background: #d4edda;
    color: #155724;
}

.refund-status.pending {
    background: #fff3cd;
    color: #856404;
}

.refund-reason {
    flex: 1;
    color: #6c757d;
    font-size: 0.95rem;
}

.wallet-footer {
    text-align: center;
}

.btn-secondary {
    padding: 14px 32px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: #5a6268;
}




















.my-orders-container {
    max-width: 600px;
    margin: 16px auto;
    margin: 20px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 16px;
}

.orders-header {
    text-align: center;
    margin-bottom: 24px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.page-subtitle {
    color: #6c757d;
    margin: 0;
}

.ongoing-order-card {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.ongoing-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-label {
    font-size: 0.95rem;
    color: #0056b3;
    font-weight: 600;
}

.order-id {
    font-size: 1.4rem;
    font-weight: 700;
}

.order-status, .order-date {
    font-size: 1.05rem;
}

.driver-info {
    font-size: 1.1rem;
    color: #2c7e3f;
    font-weight: 500;
}

.btn-track {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    align-self: flex-start;
}

.btn-track:hover {
    background: #0056b3;
}

.past-orders-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}



.past-orders-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.order-card:hover {
    border-color: #007bff;
    box-shadow: 0 4px 16px rgba(0,123,255,0.15);
}

.order-number {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.order-date, .order-total {
    font-size: 0.95rem;
    color: #6c757d;
}

.order-status.delivered {
    color: #28a745;
    font-weight: 600;
}

.order-status.cancelled {
    color: #dc3545;
    font-weight: 600;
}

.no-orders-message {
    text-align: center;
    color: #6c757d;
    padding: 40px 0;
    font-size: 1.1rem;
}
















.tracking-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
    background: #f8f9fa;
    min-height: 100vh;
    position: absolute;
    right: 0px;
    width: 40%;
}

.tracking-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.back-icon {
    font-size: 28px;
    color: #007bff;
    cursor: pointer;
}

.header-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
}

.timeline-card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}

.step-row {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding: 12px 0;
}

.step-row.active .step-icon,
.step-row.active .step-text,
.step-row.active .step-time {
    color: #007bff;
    font-weight: 600;
}

.step-icon {
    font-size: 28px;
    color: #adb5bd;
    margin-right: 16px;
    z-index: 2;
}

.step-content {
    flex: 1;
}

.step-text {
    font-size: 1.05rem;
    color: #212529;
}

.step-time {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 4px;
}

.step-line {
    position: absolute;
    left: 13px;
    top: 36px;
    width: 2px;
    height: calc(100% - 36px);
    background: #dee2e6;
    z-index: 1;
}

.step-line.active-line {
    background: #007bff;
}

.driver-card {
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 16px;
    padding: 20px;
    color: white;
    margin-bottom: 24px;
}

.driver-inner {
    display: flex;
    align-items: center;
    gap: 16px;
}

.driver-photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
}

.driver-details {
    flex: 1;
}

.driver-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0px;
}

.driver-eta, .driver-vehicle {
    font-size: 0.8rem;
    opacity: 0.9;
}

.looking-for-driver {
    background: white;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.search-icon {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 12px;
}

.looking-text {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 16px;
}



/* Responsive */
@media (max-width: 480px) {
    .tracking-container { padding: 12px; }
    .timeline-card { padding: 16px; }
	
	.profile-menu-container{
		width:100%;
	}
	
	.cls_pr_v{
		width:24px;
		height:24px;
		margin:5px;
	}
	
	
	
	.tracking-container {
		width:100%;
		height: 100%;
		overflow-y:auto;
	}
	
	
	.my-orders-container {
		max-width: unset;
		width:100%;
		border-radius:0px;
		padding: 16px;
		height:100%;
		top:0px;
		margin:0px;
	}
}